home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global voice
- if the soundEnabled = 0 then
- puppetSprite(48, 1)
- set the castNum of sprite 48 to cast "SoundOff4"
- updateStage()
- end if
- puppetPalette("interactive palette")
- updateStage()
- end
-
- on mouseDown
- if (the clickOn >= 2) and (the clickOn <= 20) then
- BUTTONDOWN()
- else
- if the clickOn = 48 then
- puppetSound("click")
- end if
- end if
- end
-
- on mouseUp
- if (the clickOn >= 2) and (the clickOn <= 48) then
- if soundBusy(2) then
- sound stop 2
- end if
- if the clickOn = 2 then
- playafter()
- else
- if the clickOn = 3 then
- playparadise()
- else
- if the clickOn = 4 then
- playcandy()
- else
- if the clickOn = 5 then
- playspy()
- else
- if the clickOn = 6 then
- playpeep()
- end if
- end if
- end if
- end if
- end if
- end if
- if (the clickOn >= 17) and (the clickOn <= 20) then
- puppetSprite(48, 0)
- set voice to 0
- if the clickOn = 18 then
- HIDEBUTTON()
- end if
- if the clickOn = 19 then
- ORDERBUTTON()
- end if
- if the clickOn = 20 then
- RETURNBUTTON1()
- end if
- end if
- if the clickOn = 48 then
- CHANGESOUND4()
- end if
- end
-
- on exitFrame
- global fixpal
- patchpal()
- go(the frame)
- end
-